Thank you for your response.
The link you described is something related to face tracking. Is it correct link?
Sorry for not clear description, but if I use the following, I can get complete color video.
var colorSpace = CGColorSpaceCreateDeviceRGB() var bitmapInfo = CGBitmapInfo(rawValue: (CGBitmapInfo.byteOrder32Little.rawValue | CGImageAlphaInfo.premultipliedFirst.rawValue) as UInt32)
I just replace those 2 parameters with above-mentioned parameters to get greyscale video. I just wonder if this is correct way to get greyscale video , or I should use other way.
Topic:
App & System Services
SubTopic:
Core OS
Tags: